[INFO] cloning repository https://github.com/shorinbonsai/simplechess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shorinbonsai/simplechess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshorinbonsai%2Fsimplechess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshorinbonsai%2Fsimplechess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fd8efef41b79853db527b3e0bd78e1445304fb06
[INFO] checking shorinbonsai/simplechess against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshorinbonsai%2Fsimplechess" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shorinbonsai/simplechess
[INFO] finished tweaking git repo https://github.com/shorinbonsai/simplechess
[INFO] tweaked toml for git repo https://github.com/shorinbonsai/simplechess written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shorinbonsai/simplechess on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shorinbonsai/simplechess already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tuple_utils v0.3.0
[INFO] [stderr]   Downloaded shrev v1.1.3
[INFO] [stderr]   Downloaded specs-derive v0.4.1
[INFO] [stderr]   Downloaded specs v0.16.1
[INFO] [stderr]   Downloaded raylib v5.0.2
[INFO] [stderr]   Downloaded mopa v0.2.2
[INFO] [stderr]   Downloaded which v4.4.2
[INFO] [stderr]   Downloaded hibitset v0.6.4
[INFO] [stderr]   Downloaded tynm v0.1.10
[INFO] [stderr]   Downloaded ahash v0.3.8
[INFO] [stderr]   Downloaded cmake v0.1.51
[INFO] [stderr]   Downloaded shred v0.10.2
[INFO] [stderr]   Downloaded hashbrown v0.7.2
[INFO] [stderr]   Downloaded cc v1.1.30
[INFO] [stderr]   Downloaded bindgen v0.69.5
[INFO] [stderr]   Downloaded raylib-sys v5.0.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3a62038b2bb820cef0ab1c0bc245e32a467bd359a3ed3acebe3e35d6026d6e96
[INFO] running `Command { std: "docker" "start" "3a62038b2bb820cef0ab1c0bc245e32a467bd359a3ed3acebe3e35d6026d6e96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a62038b2bb820cef0ab1c0bc245e32a467bd359a3ed3acebe3e35d6026d6e96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a62038b2bb820cef0ab1c0bc245e32a467bd359a3ed3acebe3e35d6026d6e96" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a62038b2bb820cef0ab1c0bc245e32a467bd359a3ed3acebe3e35d6026d6e96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a62038b2bb820cef0ab1c0bc245e32a467bd359a3ed3acebe3e35d6026d6e96" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.88
[INFO] [stderr]    Compiling prettyplease v0.2.22
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling libloading v0.8.5
[INFO] [stderr]    Compiling bindgen v0.69.5
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling cc v1.1.30
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling hashbrown v0.7.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling cmake v0.1.51
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]     Checking ahash v0.3.8
[INFO] [stderr]     Checking mopa v0.2.2
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking tuple_utils v0.3.0
[INFO] [stderr]     Checking hibitset v0.6.4
[INFO] [stderr]     Checking shrev v1.1.3
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling regex v1.11.0
[INFO] [stderr]     Checking tynm v0.1.10
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking shred v0.10.2
[INFO] [stderr]     Checking specs v0.16.1
[INFO] [stderr]    Compiling specs-derive v0.4.1
[INFO] [stderr]    Compiling raylib-sys v5.0.2
[INFO] [stderr]     Checking raylib v5.0.2
[INFO] [stderr]     Checking simplechess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/main.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn make_move(&mut self, from: usize, to: usize) {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/main.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn make_move(&mut self, from: usize, to: usize) {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/main.rs:48:42
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn make_move(&mut self, from: usize, to: usize) {
[INFO] [stdout]    |                                          ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/main.rs:48:42
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn make_move(&mut self, from: usize, to: usize) {
[INFO] [stdout]    |                                          ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/main.rs:64:19
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/main.rs:64:19
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout]    --> src/main.rs:147:26
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn search(&mut self, depth: u8) -> Option<(usize, usize)> {
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let mut engine = ChessEngine::new();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout]    --> src/main.rs:147:26
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn search(&mut self, depth: u8) -> Option<(usize, usize)> {
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let mut engine = ChessEngine::new();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Pawn`, `Knight`, `Bishop`, `Rook`, `Queen`, and `King` are never constructed
[INFO] [stdout]   --> src/main.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | enum Piece {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout]  7 |     Empty,
[INFO] [stdout]  8 |     Pawn(Color),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  9 |     Knight(Color),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 10 |     Bishop(Color),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     Rook(Color),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 12 |     Queen(Color),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 13 |     King(Color),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Piece` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Black` is never constructed
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum Color {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] 18 |     White,
[INFO] [stdout] 19 |     Black,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `side_to_move` is never read
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct Board {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 24 |     squares: [Piece; 120],
[INFO] [stdout] 25 |     side_to_move: Color,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `make_move`, `generate_moves`, and `evaluate` are never used
[INFO] [stdout]   --> src/main.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Board {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn make_move(&mut self, from: usize, to: usize) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn generate_moves(&self) -> Vec<(usize, usize)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     fn evaluate(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `search` is never used
[INFO] [stdout]    --> src/main.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl ChessEngine {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn search(&mut self, depth: u8) -> Option<(usize, usize)> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Pawn`, `Knight`, `Bishop`, `Rook`, `Queen`, and `King` are never constructed
[INFO] [stdout]   --> src/main.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | enum Piece {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout]  7 |     Empty,
[INFO] [stdout]  8 |     Pawn(Color),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  9 |     Knight(Color),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 10 |     Bishop(Color),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     Rook(Color),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 12 |     Queen(Color),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 13 |     King(Color),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Piece` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Black` is never constructed
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum Color {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] 18 |     White,
[INFO] [stdout] 19 |     Black,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `side_to_move` is never read
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct Board {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 24 |     squares: [Piece; 120],
[INFO] [stdout] 25 |     side_to_move: Color,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `make_move`, `generate_moves`, and `evaluate` are never used
[INFO] [stdout]   --> src/main.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Board {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn make_move(&mut self, from: usize, to: usize) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn generate_moves(&self) -> Vec<(usize, usize)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     fn evaluate(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `search` is never used
[INFO] [stdout]    --> src/main.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl ChessEngine {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn search(&mut self, depth: u8) -> Option<(usize, usize)> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s
[INFO] running `Command { std: "docker" "inspect" "3a62038b2bb820cef0ab1c0bc245e32a467bd359a3ed3acebe3e35d6026d6e96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a62038b2bb820cef0ab1c0bc245e32a467bd359a3ed3acebe3e35d6026d6e96", kill_on_drop: false }`
[INFO] [stdout] 3a62038b2bb820cef0ab1c0bc245e32a467bd359a3ed3acebe3e35d6026d6e96
